home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000357_news@newsmaster….columbia.edu _Tue Aug 11 17:37:11 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
5KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA17477
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 11 Aug 1998 17:37:10 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA29634
for kermit.misc@watsun; Tue, 11 Aug 1998 17:37:08 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!sunqbc.risq.qc.ca!feed.nntp.acc.ca!novia!nntp3.cerf.net!mvb.saic.com!news.eskimo.com!pygmy
From: pygmy@eskimo.com (Frank Sergeant)
Newsgroups: comp.protocols.kermit.misc
Subject: K95 telnet to dosemu under Linux
Date: Tue, 11 Aug 1998 14:55:59 -0500
Organization: Eskimo North (206) For-Ever
Lines: 115
Message-ID: <PHK01Yv1uIJW084yn@eskimo.com>
Reply-To: frank.sergeant@pobox.com
NNTP-Posting-Host: eskimo.com
Originator: pygmy@eskimo.com
Xref: news.columbia.edu comp.protocols.kermit.misc:9074
I am trying to use Kermit95 (version 1.1.17) on W95 to
telnet to a Linux machine running the DOS emulator (dosemu
version 0.66.7) to run a Clipper application.
I have made some progress with this but I still have a
few problems.
DISPLAY:
I've tried various terminal emulations but the best seems
to be K95's LINUX. Dosemu has a configuration file where
I can set the character set. The choices seem to be 'ibm'
or 'latin'. When I set dosemu to 'ibm', the box drawing
characters show correctly but all the text is unreadable.
When I set dosemu to 'latin', the text is readable but the
box drawing characters are substitutes. I suppose it is
dosemu that decides on the substitutes (?). For example,
what should be a double horizontal line comes over as an
equal sign (0x3D) and what should be a vertical double
line comes over as an "I" (0x49).
The best I've come up with so far is this:
K95 LINUX, 25x80, no status line, latin1-iso
Linux/dosemu latin
this produces a readable display, but isn't pretty enough.
Any suggestions? I had thought of trying to translate
the substituted box characters to something else, but
that probably wouldn't work since an "I" as a double
vertical line should be converted, but an "I" as part
of a text string should be left alone.
KEYSTROKES:
Most of the keys seem to work ok. The exceptions are
Ctrl-PgDn and Ctrl-PgUp and alt-C and other alt- keys.
I've managed to turn on Ctrl-PgDn and Ctrl-PgUp by
putting the following in a CLIPPER.KSC file and then
'taking' it:
set key \1314 \30 ; Ctrl-PageDown
set key \5410 \30 ; Gray-Ctrl-PageDown
set key \1313 \31 ; Ctrl-PageUp
set key \5409 \31 ; Gray-Ctrl-PageUp
With that, the Ctrl-PgUp keys work perfectly but the
Ctrl-PgDn keys requires pressing them twice (any idea
why or how to fix that?). (I discovered the numbers
30 and 31 by looking in the CLIPPER INKEY.CH include
file.)
When I try a similar approach for alt-C
set key \2147 \302 ; Alt-C
it doesn't work right. Alt-C gets set to \46 instead.
(I note that 302 mod 256 is 46, so I assume that the
codes are limited to a single byte.) The reason I
wanted to set it to \302 is that is the code used
by the Clipper application for testing whether an
alt-C key was pressed. I suppose I'll run into the
same problem with all the alt- keys. Any ideas on
how to work around this?
I tried turning on PCTERM by typing Ctrl-CapsLock while
connected. It didn't seem to do anything (and alt-X
still returned me to command mode). I also tried typing
SET TERM PCTERM
in command mode, but got the error "?No keywords match -
pcterm". I wondered if I might have seen a mention that
PCTERM wasn't working in K95 1.1.17, but couldn't find
such a mention when I tried to find it again. Even if
I could turn PCTERM on, I'm not sure whether the Linux
box and/or dosemu would be set to cope with it.
SUMMARY:
So very much is working well that I am hopeful some
or all of the remaining problems can be solved or worked
around. The most important probably is the box drawing
character problem (better to look good than to work good,
as Billy Crystal might say). Users could live with having
to type Ctrl-PgDn twice. I might substitute alternate
keystrokes for whatever functions are now invoked by alt-
keys.
Suggestions gratefully accepted. When/if I get it
all working, I'll be glad to post the final dosemu.conf
and CLIPPER.KSC files.
I also hope to install a later (non-stable?) version of
dosemu in case that changes anything for the better.
I note that if I log into the Linux box from another Linux
box and use Linux's telnet, the display does have both
proper box drawing characters and readable text (in that
case I set dosemu to 'ibm'). There, though, I haven't
found a solution yet to turning on the Ctrl-PgDn and
Ctrl-PgUp keys, however the alt- keys work ok. Is that
a clue that PCTERM would be useful from K95? However,
for the application I have in mind, it is very unlikely
that running Linux on all the workstations will be
acceptable, so I'm really hoping for a K95 solution.
-- Frank
frank.sergeant@pobox.com